import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {RouterModule, Routes} from '@angular/router';
import {LogindefultComponent} from './logindefult/logindefult.component';
import {AuthService} from '../service/authService/auth.service';
import {AuthGuardService} from '../service/authGuardService/auth-guard.service';
const loginRoutes: Routes = [
  { path: 'login', component: LogindefultComponent }
];

@NgModule({
  imports: [
    RouterModule.forChild(loginRoutes)
  ],
  exports: [
    RouterModule
  ],
  providers: [
    AuthGuardService,
    AuthService
  ]
})
export class LoginRoutingModule { }
